//
//  WBTestViewController.swift
//  Weibo
//
//  Created by 夏灵烽 on 2025/1/1.
//

import UIKit

class WBTestViewController: WBBaseViewController {

    override func viewDidLoad() {
        super.viewDidLoad()

        title = "第\(navigationController?.viewControllers.count ?? 0)个"
    }
    
    @objc func showNext() {
        let vc = WBTestViewController()
        navigationController?.pushViewController(vc, animated: true)
        
    }
    

    override func setupUI() {
        super.setupUI()
        
        navigationItem.rightBarButtonItem = UIBarButtonItem(title: "下一个", target: self, action: #selector(showNext))
    }

    
    deinit {
        
    }
}
